module.exports=function(sequelize,DataTypes){
	var Entry=sequelize.define("ttrss_entries",{
	  id: {
	    type: DataTypes.INTEGER,
	    primaryKey:true
	  },
	  title: {
	    type: DataTypes.STRING
	  },
	  // content:DataTypes.STRING
	},{timestamps: false})


	Entry.associate=function(models){
		Entry.belongsTo(models.UserEntry,{foreignKey:"id"})
	}
	return Entry;
}

